from django.db import models


class UserMessage(models.Model):
    name = models.CharField('用户名', max_length=20)
    email = models.EmailField('邮箱')
    address = models.CharField('联系地址', max_length=100)
    message = models.CharField('留言信息', max_length=500)

    class Meta:
        verbose_name = '用户留言信息'
